//
//  File.swift
//  chat
//
//  Created by 1 on 2023/3/28.
//

import SwiftUI

// 自定义返回按钮
struct QSNavigationBackButton: View {
    var action: () -> Void
 
    var body: some View {
        Button(action: action) {
            HStack {
                Image(systemName: "chevron.left")
                    .font(.system(size: 17).bold())
                    .padding(.trailing,15)
                    .padding(.vertical,5)
//                Spacer()
            }.tint(MBAColor.com_white.color)
        }
    }
}
